/*    */ package com.lmpop.frame.log;
/*    */ 
/*    */ import org.apache.commons.logging.Log;
/*    */ import org.apache.commons.logging.LogFactory;
/*    */ 
/*    */ public class Logger
/*    */ {
/*    */   private Log logger;
/*    */ 
/*    */   public Logger(Object target)
/*    */   {
/* 11 */     this.logger = LogFactory.getLog(target.getClass());
/*    */   }
/*    */ 
/*    */   public void LOG_INFO(String info) {
/* 15 */     if (this.logger.isInfoEnabled())
/* 16 */       this.logger.info(info);
/*    */   }
/*    */ 
/*    */   public void LOG_DEBUG(String info) {
/* 20 */     if (this.logger.isDebugEnabled())
/*    */     {
/* 22 */       this.logger.debug(info);
/*    */     }
/*    */   }
/*    */ 
/*    */   public void LOG_TRACE(String info) {
/* 27 */     if (this.logger.isTraceEnabled())
/*    */     {
/* 29 */       this.logger.trace(info);
/*    */     }
/*    */   }
/*    */ 
/*    */   public void LOG_ERROR(String info) {
/* 34 */     if (this.logger.isErrorEnabled())
/*    */     {
/* 36 */       this.logger.error(info);
/*    */     }
/*    */   }
/*    */ }

/* Location:           F:\电商\commons-utils.jar
 * Qualified Name:     com.lmpop.frame.log.Logger
 * JD-Core Version:    0.6.0
 */